package tool;

import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;

import mapelements.Renderer;

public class DefaultConceptIcon extends Renderer {

	private static final long serialVersionUID = -510752543363671069L;
	
	private BufferedImage image;
	
	public DefaultConceptIcon(){
		super();
		try {
			image = ImageIO.read(new File("mapeditor/tool/ItemPoint.png"));
		} catch (IOException error) {
			image=new BufferedImage(100,100,BufferedImage.TYPE_4BYTE_ABGR);
			image.getGraphics().fillRect(0, 0, 100,100);
		}
	}
	
	@Override
	public BufferedImage drawRenderer(Graphics g) {
		return image;
	}

}
